package com.wanmait.employment.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
* Created by Mybatis Generator 2023/05/19
*/
@Data
@TableName(value = "company_black")
public class
CompanyBlack {
     @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 公司id
     */
    @TableField(value = "company_id")
    private Integer companyId;

    /**
     * 拉黑时间
     */
    @TableField(value = "shielding_time")
    private Date shieldingTime;

    /**
     * 拉黑原因
     */
    @TableField(value = "masking_reason")
    private String maskingReason;

    /**
     * 解除拉黑时间
     */
    @TableField(value = "unmasking_time")
    private Date unmaskingTime;

    /**
     * 管理员拉黑人id
     */
    @TableField(value = "admin_id")
    private Integer adminId;

    /**
     * 拉黑级别
     */
    @TableField(value = "black_rule_id")
    private Integer blackRuleId;

    public static final String COL_COMPANY_ID = "company_id";

    public static final String COL_SHIELDING_TIME = "shielding_time";

    public static final String COL_MASKING_REASON = "masking_reason";

    public static final String COL_UNMASKING_TIME = "unmasking_time";

    public static final String COL_ADMIN_ID = "admin_id";

    public static final String COL_BLACK_RULE_ID = "black_rule_id";
}